<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title><%= @short_name %>  v<%= @version %> API documentation | <%= @title %></title>
  <meta name="generator" content="PDoc" />
  
  <%= javascript_include_tag "pdoc/prototype" %>
  <%= javascript_include_tag "pdoc/application", "pdoc/tabs" %>
  <%= javascript_include_tag "pdoc/item_index" %>
  
  <%= stylesheet_link_tag "pdoc/api", "pdoc/pygments" %>
  
  <script type="text/javascript">
    PDoc.pathPrefix = '<%= path_prefix %>';
  </script>
</head>
  <body>

    <div id="sidebar">
      <ul id="sidebar_tabs" class="sidebar-tabs">
        <li>
          <a href="#menu_pane">Menu</a>
        </li>
        <li>
          <a href="#search_pane">Search</a>
        </li>
      </ul> <!-- .sidebar-tabs -->

      <form class="search-ribbon">
        <label>
          <span class="hidden">Search</span>
          <input type="text" id="search" size="20" title="Search" />
        </label>
      </form>
      
      <div class="sidebar-pane scrollable" id="menu_pane">
        <%= menu(@root) %><!--- #api_menu =-->
      </div> <!-- .sidebar-pane -->
      <div class="sidebar-pane" id="search_pane">
        <ul id="search_results" class="search-results menu-items scrollable"></ul>
      </div> <!-- .sidebar-pane -->
    </div> <!-- #sidebar -->

    <div id="page">
      <%= @home ? @index_header : @header %>

      <div id="main" class="page-content">
        <%= @content_for_layout %>
      </div> <!-- #main -->
      
      <div id="footer">
        <p><a href="<%= @home_url %>"><%= @name %></a> v<%= @version %> API documentation.</p>
        <p>
          <% if @timestamp %>
            Last updated on <%= @timestamp.strftime('%B %d, %Y at %H:%M UTC') %>.
          <% end %>
          Generated by <a href="http://pdoc.org">PDoc</a>.
          Uses <a href="http://famfamfam.com/lab/icons/silk/" title="famfamfam.com: Silk Icons">Silk Icons</a> and portions of <a href="http://github.com/280north/aristo/tree/master" title="280north's aristo at master - GitHub">Aristo</a>.
        </p>
        <%= @footer %>
      </div> <!-- #footer -->

    </div> <!-- #page -->
  </body>
</html>
